package com.neugh.mapper;

import com.neugh.entity.House;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author sot
 * @since 2020-05-15
 */
public interface HouseMapper extends BaseMapper<House> {

    List<House> seleHouse(House house);

    House seleHouseById(@Param("houseId") Integer houseId);

    List<House> houseByTile(@Param("houseTitle") String houseTitle,@Param("houseType") String houseType,@Param("houseTurn") String houseTurn);
}
